Skip to content

Instantly share code, notes, and snippets.

Avatar

Artem Khvastunov artspb

View GitHub Profile
View MegamorphicList.java
@State(Scope.Thread)
@OutputTimeUnit(TimeUnit.MICROSECONDS)
public class MegamorphicList {
private List<String>[] strings;
@Setup(Level.Trial)
public void init() {
strings = new List[]{getArrayList1(6), getArrayList2(6), getArrayList3(6), getArrayList(6), getFactoryList6(), getUnModifiableList(6)};
}
View Proof of concept (WI-31774)
package de.espend.idea.php.annotation.reference;
import com.intellij.openapi.util.TextRange;
import com.intellij.patterns.PlatformPatterns;
import com.intellij.psi.*;
import com.intellij.util.ArrayUtil;
import com.intellij.util.IncorrectOperationException;
import com.intellij.util.ProcessingContext;
import com.jetbrains.php.PhpIndex;
import com.jetbrains.php.lang.documentation.phpdoc.lexer.PhpDocTokenTypes;
View keybase.md

Keybase proof

I hereby claim:

  • I am artspb on github.
  • I am artspb (https://keybase.io/artspb) on keybase.
  • I have a public key whose fingerprint is A289 60D8 C68F 0634 8967 9E97 0E0D F2DD 57B0 6019

To claim this, I am signing this object:

You can’t perform that action at this time.