Commit Graph

18 Commits

Author SHA1 Message Date
Kevin Jahns
cb191e744e [y.text] event returns delta - fix a bunch of bugs 2025-07-25 16:07:31 +02:00
Kevin Jahns
0efa4dd2a7 [diffing] event returns delta class object, migrate away from legacy deltas, work on snapshots using attribution manager. WIP 2025-07-25 16:07:28 +02:00
Kevin Jahns
00c2646031 [idmap/idset] implement forEach and perf improvement on diffingAttributionManager 2025-07-25 16:06:41 +02:00
Kevin Jahns
d8143efb12 fix nicks test 2025-07-25 16:06:02 +02:00
Kevin Jahns
a43f1983c5 [AttributionManager] auto-updates on doc changes and can destroy itself 2025-07-25 16:06:02 +02:00
Kevin Jahns
df4a424793 lint 2025-07-25 16:03:30 +02:00
Kevin Jahns
527e382f8a implement createAttributionsManagerFromDiff that automatically handles gc 2025-07-25 16:03:30 +02:00
Kevin Jahns
b3171c535f getContent on Y.Map 2025-07-25 16:03:30 +02:00
Kevin Jahns
ece7466123 [AttributionManager] further improve performance to be almost on-par with toString 2025-07-25 16:03:30 +02:00
Kevin Jahns
324620d578 [attribution manager] returns null instead of empty array to reduce gc allocations 2025-07-25 16:03:30 +02:00
Kevin Jahns
fbfe0e0eeb working on performance 2025-07-25 16:03:30 +02:00
Kevin Jahns
5f5cf343a8 implement base AttributionManager class and use in Y.Text 2025-07-25 16:03:30 +02:00
Kevin Jahns
1d025ae73f rename AttributionManager=>IdMap
The "AttributionManager" will be an abstract class that maps data
(probably using IdMap(s))
2025-07-25 16:03:30 +02:00
Kevin Jahns
a36075161a diffing of attribution manager state 2025-07-25 16:03:30 +02:00
Kevin Jahns
8908bd21dc [am] fixed tests 2025-07-25 16:03:30 +02:00
Kevin Jahns
a6ae65d32c Work on AttributionManager 2025-07-25 16:03:30 +02:00
Kevin Jahns
46347ee6ec rename DeleteSet=>IdSet and add utilities and perf improvements 2025-07-25 16:03:16 +02:00
Kevin Jahns
e13fc602a8 implement support for diffing deletesets 2025-07-25 15:58:25 +02:00