@siloamx, thank you for pointing out that Python list comprehensions are faster than loops! I only recently started using them for simple list manipulations (e.g., vector math), but I did not know they were faster. Also looks like you can use functions within them, which makes them useful for my parsing example.
- Re: Nim vs. Python & Groovy (string splitting): Why is... jyapayne
- Re: Nim vs. Python & Groovy (string splitting): Why is... cblake
- Re: Nim vs. Python & Groovy (string splitting): Why is... kaushalmodi
- Re: Nim vs. Python & Groovy (string splitting): Why is... cblake
- Re: Nim vs. Python & Groovy (string splitting): Why is... zetashift
- Re: Nim vs. Python & Groovy (string splitting): Why is... cblake
- Re: Nim vs. Python & Groovy (string splitting): Why is... zulu
- Re: Nim vs. Python & Groovy (string splitting): Why is... cblake
- Re: Nim vs. Python & Groovy (string splitting): Why is... markebbert
- Re: Nim vs. Python & Groovy (string splitting): Why is... jyapayne
- Re: Nim vs. Python & Groovy (string splitting): Why is... markebbert
- Re: Nim vs. Python & Groovy (string splitting): Why is... cblake
- Re: Nim vs. Python & Groovy (string splitting): Why is... claxo
- Re: Nim vs. Python & Groovy (string splitting): Why is... claxo
- Re: Nim vs. Python & Groovy (string splitting): Why is... markebbert
- Re: Nim vs. Python & Groovy (string splitting): Why is... Stefan_Salewski
- Re: Nim vs. Python & Groovy (string splitting): Why is... cblake
- Re: Nim vs. Python & Groovy (string splitting): Why is... jyapayne
- Re: Nim vs. Python & Groovy (string splitting): Why is... cblake
- Re: Nim vs. Python & Groovy (string splitting): Why is... markebbert
- Re: Nim vs. Python & Groovy (string splitting): Why is... rayman22201
