GrapheneOS on Nostr: nprofile1q…cgwgz It's unfit for this purpose due to the massive overhead for ...
nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq8vxcve26kav54evl9kdgzcdhq78lfqplaee0sxw95mhxg4pdhzwqzcgwgz (nprofile…gwgz) It's unfit for this purpose due to the massive overhead for anything written in Python code, lack of proper threading due to the GIL, etc. The main way people write higher performance Python is delegating nearly all the work to C extensions, which still has high overhead in most cases. The data structures do have high memory and performance overhead but so does everything else in the language. It's also not good at async. It's not suited to writing a server with reasonable performance.