immutable_features #24

Merged
altavir merged 7 commits from immutable_features into dev 2024-07-08 11:56:05 +03:00
Owner
  • Replace compose-based snapshot maps. Features now could be decoupled from compose.
  • Add rate limiter for feature updates.
* Replace compose-based snapshot maps. Features now could be decoupled from compose. * Add rate limiter for feature updates.
altavir added 3 commits 2024-07-08 09:16:48 +03:00
altavir requested review from InsanusMokrassar 2024-07-08 09:16:59 +03:00
InsanusMokrassar added 1 commit 2024-07-08 11:04:05 +03:00
Author
Owner

@InsanusMokrassar I don't think I like your modification. The code duplication is very small. It does not warrant additional class in a public API. By the way, caching is probably not necessary for SVG export. It is done rarely.

@InsanusMokrassar I don't think I like your modification. The code duplication is very small. It does not warrant additional class in a public API. By the way, caching is probably not necessary for SVG export. It is done rarely.
InsanusMokrassar reviewed 2024-07-08 11:27:18 +03:00
@ -37,3 +37,3 @@
if (event.type == PointerEventType.Move) {
features.forEachWithAttribute(HoverListenerAttribute) { _, feature, listeners ->
features.forEachWithAttribute(HoverListenerAttribute) { id, feature, listeners ->

Does id argument is really needed here?

Does `id` argument is really needed here?
Author
Owner

It should be ref and no, it is probably not needed.

It should be ref and no, it is probably not needed.
altavir marked this conversation as resolved
InsanusMokrassar added 1 commit 2024-07-08 11:29:49 +03:00

@InsanusMokrassar I don't think I like your modification. The code duplication is very small. It does not warrant additional class in a public API. By the way, caching is probably not necessary for SVG export. It is done rarely.

Reverted

> @InsanusMokrassar I don't think I like your modification. The code duplication is very small. It does not warrant additional class in a public API. By the way, caching is probably not necessary for SVG export. It is done rarely. Reverted
InsanusMokrassar approved these changes 2024-07-08 11:41:46 +03:00
altavir added 2 commits 2024-07-08 11:55:26 +03:00
altavir merged commit e913874ace into dev 2024-07-08 11:56:05 +03:00
altavir deleted branch immutable_features 2024-07-08 11:56:05 +03:00
Sign in to join this conversation.
No description provided.