Skip to content

Conversation

beef331
Copy link
Collaborator

@beef331 beef331 commented Oct 24, 2022

Had to add a substr overload for openArray which enables the limiting behaviour.

Call substr instead of index slice inside unicode

Added substr overload for openarray for parity with string functionality

Made style checker happies and fixed overloads for substr
@Araq
Copy link
Member

Araq commented Oct 25, 2022

Nice but the forwarding procs that take string should be marked with inline.

@Araq Araq merged commit 0b1989d into nim-lang:devel Oct 27, 2022
@github-actions
Copy link
Contributor

Thanks for your hard work on this PR!
The lines below are statistics of the Nim compiler built from 0b1989d

Hint: mm: orc; opt: speed; options: -d:release
164432 lines; 8.425s; 613.652MiB peakmem

capocasa pushed a commit to capocasa/Nim that referenced this pull request Mar 31, 2023
* Added openarray[char] overloads to std/unicode

Call substr instead of index slice inside unicode

Added substr overload for openarray for parity with string functionality

Made style checker happies and fixed overloads for substr

* Added update to changelog [skip ci]

* Inline unicode string operations

* Moved substr overload to unicode

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
bung87 pushed a commit to bung87/Nim that referenced this pull request Jul 29, 2023
* Added openarray[char] overloads to std/unicode

Call substr instead of index slice inside unicode

Added substr overload for openarray for parity with string functionality

Made style checker happies and fixed overloads for substr

* Added update to changelog [skip ci]

* Inline unicode string operations

* Moved substr overload to unicode

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants