chopraanmol1 (Anmol Chopra)
- Login: chopraanmol1
- Registered on: 02/19/2018
- Last sign in: 01/07/2019
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 1 | 8 | 9 |
Activity
11/20/2018
-
05:14 AM Ruby Feature #15151: String#slice!(0,..) creates a duplicate of original string
- ping @nobu
10/25/2018
-
07:05 AM Ruby Feature #15251: Hash aset should deduplicate non tainted string
- @normalperson I also benchmarked so_k_nucleotide mentioned in https://bugs.ruby-lang.org/issues/9188 with following command
~~~
benchmark-driver benchmark/so_k_nucleotide.yml -e "path_to_patched_binary" -e "path_to_trunk_binary" -e "...
10/24/2018
-
01:07 PM Ruby Feature #15251 (Closed): Hash aset should deduplicate non tainted string
- I'm not sure if current behavior is expected one or a bug. So feel free to change tracker type.
Currently Hash ASET checks if non-tainted string exists in fstring table or not, if it doesn't then ruby duplicates string and freeze it. ...
10/01/2018
-
02:59 PM Ruby Feature #15151: String#slice!(0,..) creates a duplicate of original string
- @nobu can you look into this? Thank you.
09/23/2018
-
03:27 PM Ruby Feature #15151 (Open): String#slice!(0,..) creates a duplicate of original string
- String#slice! when used at beginning of string (e.g. slice!(0,10)) calls rb_str_drop_bytes which creates shared string for non embedded string. str_modify_keep_cr clears the flag of shared string which is called before rb_str_drop_bytes....
09/18/2018
-
05:48 AM Ruby Bug #14908: Enumerator::Lazy creates unnecessary Array objects.
- All the responses for the proposed patch are positive till date. @shyouhei can we go ahead with this now?
09/15/2018
-
03:32 AM Ruby Bug #15118: Method [] & []= does not respect frozen_string_literal: true comment
- Fixed in
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/64745
09/14/2018
-
10:43 AM Ruby Bug #15118: Method [] & []= does not respect frozen_string_literal: true comment
- shevegen (Robert A. Heiler) wrote:
>
> ...
I was working on reducing memory allocation on roo gem. While profiling (with memory_profiler gem) I observed string literal being allocated multiple time at specific locations even after add... -
06:57 AM Ruby Bug #15118 (Closed): Method [] & []= does not respect frozen_string_literal: true comment
- Calling `["something"]` on object or proc (non-hash aref implementation) does not respect `frozen_string_literal: true` comment
### Script:
~~~ruby
# frozen_string_literal: true
require 'benchmark'
require 'memory_profiler'
c...
09/11/2018
-
05:16 AM Ruby Bug #15082: Memory leak in net/http/response and net/http/header
- @alexis Look into this PR https://github.com/SamSaffron/memory_profiler/pull/59
Once merged this PR should fix the issue you faced.
I think this can be closed now.