Python Forum
splitting a string numeically
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
splitting a string numeically
#14
My plan is to repost this this weekend, but here's the one metulburr already migrated: http://python-forum.io/Thread-Efficiency-Crash-Course
The idea is basically the same as the example. Slicing a string, like building a string with concatenation, will create a whole new one each time.

Also notable I suppose on top of efficiency is the API. I would argue an ideal API supports iterables, not just slicables.
Reply


Messages In This Thread
splitting a string numeically - by Skaperen - Oct-07-2016, 06:49 AM
RE: splitting a string numeically - by j.crater - Oct-07-2016, 07:00 AM
RE: splitting a string numeically - by wavic - Oct-07-2016, 07:00 AM
RE: splitting a string numeically - by buran - Oct-07-2016, 08:19 AM
RE: splitting a string numeically - by wavic - Oct-07-2016, 09:18 AM
RE: splitting a string numeically - by Mekire - Oct-07-2016, 07:17 AM
RE: splitting a string numeically - by Skaperen - Oct-07-2016, 08:06 AM
RE: splitting a string numeically - by Yoriz - Oct-07-2016, 08:37 AM
RE: splitting a string numeically - by nilamo - Oct-07-2016, 05:35 PM
RE: splitting a string numeically - by Larz60+ - Oct-07-2016, 05:51 PM
RE: splitting a string numeically - by metulburr - Oct-07-2016, 06:06 PM
RE: splitting a string numeically - by micseydel - Oct-07-2016, 08:32 PM
RE: splitting a string numeically - by wavic - Oct-07-2016, 09:44 PM
RE: splitting a string numeically - by micseydel - Oct-07-2016, 09:48 PM
RE: splitting a string numeically - by micseydel - Oct-10-2016, 03:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  splitting file into multiple files by searching for string AlphaInc 2 979 Jul-01-2023, 10:35 PM
Last Post: Pedroski55
  Splitting a string twice bazcurtis 2 5,646 Mar-09-2020, 02:54 PM
Last Post: perfringo
  splitting a string with 2 different delimiters Skaperen 4 2,784 Dec-30-2019, 04:49 AM
Last Post: BamBi25
  Splitting String into 2d list cclark135 2 2,852 Aug-26-2019, 01:46 PM
Last Post: ThomasL
  Strange behaviour while splitting string? naknak12 2 2,625 Feb-18-2019, 01:57 PM
Last Post: naknak12
  splitting a string by 2 characters Skaperen 8 9,022 Dec-27-2016, 06:14 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020