Kros 積分 0

好猶豫到底要不要買 TB 呀~~

Kros 積分 0

每次升級都說改善 performance,但是每次都沒感覺是哪招

Kros 積分 0

讚,這就是開發者要有的專業!

Kros 積分 3

明明知道主角是無敵的,但是還是會期待他打爆對手,真是奇怪的人性呀XD

Kros 積分 1

不知真的假的,期待有更好的電腦可買 (例如:32G RAM)

Kros 積分 0

有沒有考慮換別的 json library?

Kros 積分 0

在兩個平台都裝了 Newsvoice。iOS 還是比較順暢(幾乎所有跨平台工具都一樣)。感覺還是只適合做一些內部用或簡單 App。

Kros 積分 0

不用臉書還要寫一篇文章昭告天下...根本就是臉書的 TA 呀XD

Kros 積分 1
Macro-fusion

Macro-fusion happens mainly in the assembly-time in the form of replacing two or more subsequent operators with a single operator

Micro-fusion

Micro-fusion happens when two or more operators share their resources or internal structures and thus bypassing some overhead of the general wired-up structure.

是指說 Library 內部就已經自動幫我們做作佳化了嗎?

Kros 積分 2

真的有提昇~ 而且一天 pair 5個小時就很累了,太專心

Kros 積分 0

整篇都在大力讚頌 Kotlin XD

Kros 積分 0

但是後來發現很少看 Package,都直接 trace code 看 usage 就大概知道程式架構了。

Kros 積分 0 編輯於

等著寄回台灣~

Kros 積分 3
如果 App 有 Offline 功能時,如何讓 Local ID 跟 Server ID 互相溝通,Trello 一開始想到兩個不好的解法:
  1. 先產生 Local ID,等連線成功時,再轉換成 Server ID。

複雜且效能不好

  1. 產生一個 ID Object "Identifier" 同時包含 Local ID, Server ID。

架構大改 Refactoring 風險大

目前的解法是: 在 network 層實作一個 local-server id converter。缺點就是 data model 必須是 mutable 的。

大家有什麼好的解法嘛?