r
2013-11-06 08:16:53 UTC
It appears that string.Split (which calls genSplit) does the job in
two-passes, and does allocate.
I believe this behavior can be optimizes.
Especially when len(sep) is 1.
two-passes, and does allocate.
I believe this behavior can be optimizes.
Especially when len(sep) is 1.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.