Anton Bukov
Anton Bukov
BTW in OOP composition is usually considered as much more agile pattern than inheritance: https://en.wikipedia.org/wiki/Composition_over_inheritance
I see profanity project is having the same speed: https://github.com/johguse/profanity/issues/36 But ERADICATE2 should work faster...
@Alchemyst0x that’s awkward, but I expected profanity2 result to be exactly the same as profanity. I am not sure that profanity2 changes could affect performance at all. update: Oh, I...
Solved via saving number of digits to the right from cursor position: ``` func countDigitsRighterThatCursor(textField: UITextField) -> Int { let cursorPos = textField.selectedTextRange.start var digits = -1 var index =...
I am mining while generating some files. Looks like miner uses unfinished files...
Right now I am creating plot files in subdirectory and move them to disk root after completion.
C++: https://github.com/k06a/boolinq
Same problem. @Benoit42 looks like this will work only for iOS8+: ``` ld: warning: embedded dylibs/frameworks only run on iOS 8 or later ```
Or you are not filtering out `NSProxy` subclasses? ``` (lldb) p [NSProxy isProxy] NO ```
Just did some measures, looks like `class_getSuperclass` works a lot faster than `class_respondsToSelector`, this version of checking for `NSObject` subclass is a lot faster (more than 10x times): ``` Class...