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

前端 未结 0 393
Happy的楠姐
Happy的楠姐 2021-02-11 08:39

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

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