Artur Școlnic's activity
From 02/27/2025 to 03/28/2025
03/25/2025
- 04:19 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- The changes in rev 15771 should solve the immutable types problem...
03/24/2025
- 10:09 AM Base Language Bug #9060 (Review): Cache oftenly used values that are immutable
- I committed 9060b/15771, it contains fixes for issues from the review, constant type registering throughout the proje...
03/18/2025
- 12:58 PM Base Language Bug #9060: Cache oftenly used values that are immutable
- This is different, for example:...
- 11:03 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- I started a more extensive testing process, hundreds of unit tests are failing because of assign style methods being ...
- 09:45 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- @decimal.compareTo@ uses @BigDecimal.compareTo@ which checks the scale, so I think we are safe.
- 09:23 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- Alexandru Lungu wrote:
> Oh, sorry for the confusion. I meant @cachedInstance.value.equals(value)@ or something like... - 09:15 AM Base Language Bug #9060 (WIP): Cache oftenly used values that are immutable
- Alexandru Lungu wrote:
> # why?
Isn't this expected? Comparing a decimalConstant with a BigDecimal using equals s... - 09:00 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- Alexandru Lungu wrote:
> * I am quite nervous with comparing @double@ values with @==@: @cachedInstance.doubleValue(... - 08:55 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- Artur Școlnic wrote:
> that would be the next step, which I already partly implemented, but for now we need to wrap... - 08:44 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- Constantin Asofiei wrote:
> You mean @Can not compare character with characer constant!@?
Yes.
- 08:17 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- Constantin Asofiei wrote:
> Review for 9060b rev 15768:
> * in @database_references.rules@, I think you need to che...
03/17/2025
- 04:58 AM Base Language Bug #9060 (Review): Cache oftenly used values that are immutable
- I committed the conversion change to rev 15768, Constantin, please take a look. I converted hotel and there were no c...
03/14/2025
- 06:15 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- I had a talk with Constantin, the conclusion was that we need to wrap in mutable instances the constant types for eve...
- 04:39 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- Of course I will try to limit the changes to be applied only in the field access scenario.
- 04:34 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- Here are my proposals for solving the @replace@ issue:...
- 03:51 AM Base Language Bug #9060 (WIP): Cache oftenly used values that are immutable
- I will bring the branch to a stable state by solving the issue described in #9060-85 and any other that pop out durin...
03/13/2025
- 11:12 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- Replacing @new date@ with @date.of@ throughout the project means there are going to be a lot of overloads for the @of...
- 09:44 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- ...
- 09:37 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- The issue seem to originate from @BaseDataType.sameType@, it returns false for date and constant. Does it make sens t...
- 09:28 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- It seems so, I am getting errors in the @SharedVariableManager@ because @dateConstants@ are used.
- 09:12 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- I suppose @BaseDataTypeFactory.instantiate@ and any BDT generation method should return a mutable instance.
- 08:53 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- I am trying to replace all @date@ instance creation in the project with the @date.of@. Naturally this breaks everythi...
- 08:14 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- Constantin Asofiei wrote:
> Test the cache directly in Java - create the datetime-tz strings (what is @odt@ in your ... - 07:34 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- ...
- 06:04 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- After running 106 FWDTests, these are the results of the dynamic cache usage:...
03/12/2025
- 09:17 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- I encountered a few issued when using constant character, one of them leaves some tests in a perpetual wait state, a ...
03/11/2025
- 08:50 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- Alexandru suggested that at some point we should create new mutable instances and return them in the case of @InputOu...
- 08:16 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- Constantin Asofiei wrote:
> And also for InoutOutputField?
It is possible, so far I have been solving issues as t... - 07:55 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- Artur Școlnic wrote:
> Maybe we can cast the constant types to normal ones in @FieldReference.getObject@?
Or pass... - 07:48 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- Maybe we can cast the constant types to normal ones in @FieldReference.getObject@?
- 07:23 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- Currently I am trying to solve this issue:...
- 06:48 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- At this point, no. I am working on it.
- 05:55 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- Memory profiling with the changes in 9060b results for BDT instances (large application FWDtest that uses a lot of CR...
03/10/2025
- 11:07 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- I did a memory profiling on a large application FWDTest and saw that the most instantiated BDTs are @unknown@, and th...
- 05:45 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- The general idea is that the least used entries will always change, but the most used one will always be "in the top"...
- 05:40 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- This is the most efficient implementation I found:
Key Data Structures:
* HashMap<K, V>: Stores the actual cache ... - 05:24 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- Clearly a LRU cache is not a good idea for caching the BDT constants, but what about a Most Frequently Used (MFU) cac...
03/07/2025
- 09:34 AM Base Language Bug #9060 (Review): Cache oftenly used values that are immutable
- 9060b/15764 is ready for review.
- 07:54 AM Base Language Bug #9060 (WIP): Cache oftenly used values that are immutable
- Constantin Asofiei wrote:
> Please provide some examples.
What I meant is that it cannot be private or protected,... - 07:33 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- Constantin Asofiei wrote:
> Review for 9060b/15755:
> * why the access mode change for some methods in i.e. @dateti... - 05:46 AM Base Language Bug #9060 (Review): Cache oftenly used values that are immutable
- I added the immutable types and used them in Record getters, so far it seems to work fine. The code is in 9060b/15755...
03/04/2025
- 09:39 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- Immutable objects can't be changed at all, unmodifiable objects can't be change externally, but their state can be mo...
- 09:33 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- What I meant is that we only use one or two constructor overloads in @Record@ for each BDT, so it makes sense to have...
- 09:25 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- Should every constructor for a BDT have an equivalent @immutable()@ overload?
- 08:01 AM Base Language Bug #9060: Cache oftenly used values that are immutable
- I added support for Constant BDTs for getters in @Record@. There was an issue with the type resolving in @FuzzyMethod...
03/03/2025
- 08:53 AM Database Bug #9683: CompoundQuery is doing extra hydration attempts
- I committed rev 15726. It contains a new interface and a few implementing classes.
02/27/2025
- 07:08 AM Database Bug #9669: Optimize RecordMeta.applyInitialValues
- Branch 9669a was merged to trunk as rev.15743 and archived.
- 06:13 AM Database Bug #9669: Optimize RecordMeta.applyInitialValues
- FwdTests passed.
- 05:13 AM Database Bug #9669: Optimize RecordMeta.applyInitialValues
- Removed getProperties in rev 15722.
- 05:00 AM Database Bug #9669 (Review): Optimize RecordMeta.applyInitialValues
- I committed the latest changes to rev 15721.
- 02:34 AM Database Bug #9669: Optimize RecordMeta.applyInitialValues
- Alexandru Lungu wrote:
> ** Anyway, I think this approach is not completely right because you presume that the @dyna...
Also available in: Atom