Hanmac (Hans Mackowiak)
- Login: Hanmac
- Email: hanmac@gmx.de
- Registered on: 05/14/2011
- Last sign in: 02/21/2024
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 3 | 29 | 32 |
Activity
10/26/2023
- 10:56 AM Ruby master Feature #8520: Distinct to_s methods for Array, Hash...
- p8 (Petrik de Heus) wrote in #note-5:
> There is an open issue in Rails to limit `ActiveRecord::Base#inspect` for pe...
10/25/2023
- 07:44 AM Ruby master Bug #19916: URI#to_s can serialize to a value that doesn't deserialize to the original
- to_s is not serialize / deserialize
also it is not guarantied that to_s returns a string that is parsable
06/15/2023
- 07:38 AM Ruby master Feature #19315: Lazy substrings in CRuby
- it confused me too, i thought Copy On Write was default for shared strings
https://patshaughnessy.net/2012/1/18/se...
04/06/2023
- 07:23 AM Ruby master Bug #19583: Unary minus inconsistency when used with variables and literals
- `-2` is a literal
`- 2` is a function call of `-@`
and -@ doesn't have preference over function call, see this:
...
03/01/2023
- 12:55 PM Ruby master Bug #19470: Frequent small range-reads from and then writes to a large array are very slow
- i think maybe the GC could optimize something?
```
100000.times do
arr[0..3] #=> GC notices that the result is...
02/17/2023
- 03:49 PM Ruby master Bug #19448: [Hash] Using Set as default value
- That's is known limitation when using Hash default value
Also your problem is that `<<` would alter the same objec...
02/03/2023
- 10:57 AM Ruby master Feature #19406: Allow declarative reference definition for rb_typed_data_struct
- i don't know if it works for my use case too, but for my c++ extension,
i need to keep the ruby object alive for as ...
01/10/2023
- 09:35 AM Ruby master Feature #18285: NoMethodError#message uses a lot of CPU/is really expensive to call
- maybe we could add some conditions when the object should be printed instead of the class for NoMethodError?
* if ...
12/01/2022
- 02:57 PM Ruby master Bug #19079: Modules included in a DelegateClass cannot override delegate methods
- you can also try prepend instead of include:
```ruby
WithHelper = DelegateClass(Base) { prepend Helper }
```
05/09/2022
- 02:21 PM Ruby master Bug #18766: ArgumentError with no backtrace information when requiring openssl/cipher and initializing an OpenSSL::Cipher
- technically it does show, the problem are the parameter for initialize, or better for `BasicObject#initialize`
The...
Also available in: Atom