Why is this dictionary lookup method of processing a string into words slower than .split()?

前端 未结 0 1121
执念已碎
执念已碎 2021-02-11 08:15

When I wrote my first func to split a string up into words based on a list of separator characters, I thought I was being sloppy/lazy, since this would seemingly iterate over th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题