vzdor (Vladimir Zdorovenco)
- Login: vzdor
- Registered on: 01/21/2023
- Last sign in: 01/21/2023
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
01/21/2023
-
04:36 PM Ruby Bug #19361 (Rejected): String#[Integer] is orders slower for strings with some UTF characters
- #[] is not only slower compared to itself, but slower compared to #each_char.
seq1
```
# s = '*' * 10e4
s = 'ф' * 10e4
count = 0
size = s.size
while count < size
s[count]
count += 1
end
```
seq2
```
ss = 'ф' * 10e4
...