-
`co_consts` can contain values of any type, including mutable ones. For example:
```py
def f():
print(())
code = f.__code__
code = code.replace(co_consts=(None, []))
exec(code)
```
T…
-
In May, the vector classes were refactored. Since they are used all the time, performance is crucial. We used Float32Arrays, since better performance was expected. Did we gain or loose from refactorin…
-
**Describe the feature**
If we have a POJO class annotated with `@Value` and that POJO class contains an attribute with data type as a list then the generated constructor doesn't change the list to a…
-
I think the word "immutable" is sufficiently overloaded that it'd cause confusion to use it.
All primitives are immutable, but so are frozen objects without internal slots that have no "non-immutab…
-
I tried to deploy a fsverity image on an ext4 disk.
The steps are roughly :
```
# turn on fsverity on filesystem
tune2fs -O verity /dev/vda4
# enable fsverity in the ostree repo
ostree conf…
-
Tangentially related to #584. In the React ecosystem we tend to `Object.freeze` objects only in development mode but not in production because VMs are slower with `freeze` than with it. However, we do…
-
We should replace the current smart `setStyle` implementation in gl-js with one more similar to native, based on a split between:
* immutable, pure style-spec domain objects, independent of renderi…
-
## Context
According to the JavaDocs `SortedSet#intersect` should always return members from **_this_**:
https://eclipse.dev/collections/javadoc/11.1.0/org/eclipse/collections/api/set/sorted/Immut…
-
An important bit of ZODB fine print and, for some, a common pitfall is the persistence rule that if you store non-persistent subobjects, you need to take special case, possibly inviting bugs.
I thi…
-
Following example:
```
@Value.Immutable
@Value.Style(jdkOnly = true)
public interface TestDTO {
Optional getName();
}
```
The generated setters in immutable class and builder doesn't allow…
buett updated
3 years ago